Applies data security to hierarchy members
{ addMembersSecurity }
Sets member-level security on a specific attribute hierarchy in a specific data model for the given role.
Method
/API3/dataSources/addMembersSecurity
- Enterprise Admin
Input Parameters
Name
membersSecurityObject
Object Type
Description
The details of the security settings for the hierarchy's member elements.
Output Response
Successful Result Code
200
Response Type
Description of Response Type
Generic API response object with success or failure flag and related messages.
Notes
Security settings can only be applied either by specific member name (as a list) or via a PQL logical 'script' that generates a list of member elements. The function should be supplied with either member listing or script. NOT BOTH.
Examples
Code Snippets
Use the Authentication API methods to generate an access 'key' or 'token' for use in code as shown below.
TypeScript
Curl
Java
C#
Python
PHP